package advance_2;

public class Obj {
    private Obj(){}

    private static Obj obj=new Obj();

    public static Obj getInstance(){
        return obj;
    }
}
